package cn.wenhaha.common.bean.dto.install;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @ClassName: DataSourceDTO
 * @description: TODO
 * @author: wyndem
 * @date: 2020/3/8 18:30
 * @Version: 1.0
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class DataSourceDTO implements Serializable {
    private String hostname;
    private Integer hostport;
    // 0 mysql 1 sqlite
    private Integer dbType;
    private String dbUri;
    //数据库名称
    private String database;
    //用户名
    private String username;
    private String password;
    //覆盖数据库
    private Boolean cover;
    private String account;
    private String adminpwd;
    //是否初始化数据
    private Boolean initdata;
}
